package com.project.livetv.adapter;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.project.livetv.R;

import java.util.List;

/**
 * Created by Administrator on 2016/05/10/0010.
 *
 * 信息发送过来的消息
 */
public class MyAdapterForMainTv extends MyBaseAdapterForList<String> {


    public MyAdapterForMainTv(List<String> mDatas, Context mContext) {
        super(mDatas, mContext);
    }

    @Override
    public View getView(int position, View convertView, ViewGroup parent) {
        if(convertView==null){
            convertView = LayoutInflater.from(mContext).inflate(R.layout.item_maintv_info,parent,false);
        }
        return convertView;
    }
}
